package com.xiyoukt.springboot;

import org.springframework.context.annotation.Profile;
import org.springframework.stereotype.Component;

@Profile("dev")
@Component
public class Cat implements Animal {
    @Override
    public void hat() {
        System.out.println("tomcat");
    }
}
